<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML>
<html>
<head>
	<base href="<%=basePath%>" />
	<meta name="viewport"
		content="width=device-width,inital-scale=1,user-scalable=no" />
	<title>系统模块管理</title>
	<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
	<!-- Bootstrap Core CSS -->
	<link href="resource/css/bootstrap.min.css" rel='stylesheet'
		type='text/css' />
	<!-- Custom CSS -->
	<link href="resource/css/style.css" rel='stylesheet' type='text/css' />
	<link href="resource/css/font-awesome.css" rel="stylesheet"> 
	<!-- jQuery -->
	<script src="resource/js/jquery.min.js"></script>
	<!----webfonts--->
	<link
		href='http://fonts.useso.com/css?family=Roboto:400,100,300,500,700,900'
		rel='stylesheet' type='text/css'>
	<!---//webfonts--->
	<!-- Nav CSS -->
	<link href="resource/css/custom.css" rel="stylesheet">
	<link rel="stylesheet" href="resource/ztree/css/metroStyle/metroStyle.css" type="text/css">
	<script type="text/javascript" src="resource/js/sidebar.js"></script>
	<!-- Metis Menu Plugin JavaScript -->
	<script src="resource/js/metisMenu.min.js"></script>
	<script src="resource/js/custom.js"></script>
	<style type="text/css">
	.zTreeDemoBackground {
		min-height: 500px;
		width: 100%;
	}
	</style>
</head>
<body>
	<div id="wrapper">
		<!-- Navigation -->
		<jsp:include page="../common/head.jsp"></jsp:include>
		<!-- /Navigation -->
		<div id="page-wrapper">
			<div class="graphs">
				<ol class="breadcrumb">
					<li>
						<a href="#">主页</a>
					</li>
					<li class="active">
						系统模块管理
					</li>
				</ol>
				<div id="alertShow"></div>
				<div class="grid_3">
					<div class="but_list">
						<button id="addParentMenu" class="btn btn_sm btn-primary" type="button">增加父节点</button>
						<button id="addChildMenu" class="btn btn_sm btn-primary" type="button">增加子节点</button>
						<button id="remove" class="btn btn_sm btn-success warning_3" type="button">删除节点</button>
						<button id="saveMenu" class="btn btn_sm btn-primary" type="button">保存菜单</button>
					</div>
				</div>
				<div class="media_1">
					<div class="col-md-5 media_1-left">
						<div class="zTreeDemoBackground">
							<ul id="treeDemo" class="ztree"></ul>
						</div>
					</div>
					<div class="col-md-7 media_1-right">
						<div class="zTreeDemoBackground">
							<form class="form-horizontal" onsubmit="return false;">
								<div class="form-group">
									<label for="focusedinput" class="col-sm-3 control-label">名称</label>
									<div class="col-sm-8">
										<input id="name" type="text" class="form-control1" id="focusedinput" placeholder="名称">
									</div>
								</div>
								<div class="form-group">
									<label for="focusedinput" class="col-sm-3 control-label">地址</label>
									<div class="col-sm-8">
										<input id="menuurl" type="text" class="form-control1" id="focusedinput" placeholder="url">
									</div>
								</div>
								<div class="form-group">
									<label for="focusedinput" class="col-sm-3 control-label">ICON</label>
									<div class="col-sm-8">
										<input id="menuclass" type="text" class="form-control1" id="focusedinput" placeholder="icon">
									</div>
								</div>
								<div class="form-group">
									<label for="focusedinput" class="col-sm-3 control-label">状态</label>
									<div class="col-sm-8">
										<div class="radio block"><label><input id="senable" type="radio" name="status" value="1"> 启用</label></div>
										<div class="radio block"><label><input id="sdisable" type="radio" checked="" name="status" value="0"> 禁用</label></div>
									</div>
								</div>
								<div class="panel-footer">
									<div class="row">
										<div class="col-sm-8 col-sm-offset-3">
											<input id="menuId" type="hidden"/>
											<button id="btn_success" class="btn-success btn">保存</button>
										</div>
									</div>
								</div>
							</form>
						</div>
					</div>
					<div class="clearfix"> </div>
				</div>
				<jsp:include page="../common/footer.jsp"></jsp:include>
			</div>
		</div>
		<!-- /#page-wrapper -->
	</div>
	<!-- /#wrapper -->
	<!-- Bootstrap Core JavaScript -->
	<script src="resource/js/bootstrap.min.js"></script>
	<!-- zTree -->
	<script type="text/javascript" src="resource/ztree/js/jquery.ztree.core.min.js"></script>
	<script type="text/javascript" src="resource/ztree/js/jquery.ztree.excheck.min.js"></script>
	<script type="text/javascript" src="resource/ztree/js/jquery.ztree.exedit.min.js"></script>
	<script type="text/javascript" src="resource/js/sysm.js"></script>
</body>
</html>